package com.xquant.pricing.calc.entity.simple;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 功能说明：二元收益结构
 * 编写作者：botao.yu
 * 开发日期：2021-11-18 14:41:00
 * 修改记录：修改日期   修改人    修改内容
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Rebate{
    /**
     *  行权价比例，不填写默认最小值0
     */
    @JsonProperty
    private String LowerStrikeRate;
    /**
     *  行权价是否包含 0 不包含，1 包含，默认 为0
     */
    @JsonProperty
    private String LowerStrikeInclude;
    /**
     *  行权价比例，不填写默认最小值0
     */
    @JsonProperty
    private String UpperStrikeRate;
    @JsonProperty
    private String UpperStrikePrice;
    /**
     *  行权价是否包含 0 不包含，1 包含，默认 为0
     */
    @JsonProperty
    private String UpperStrikeInclude;
    /**
     *  收益率
     */
    @JsonProperty
    private String RebateRate;
    /**
     *  收益
     */
    @JsonProperty
    private String RebatePrice;

    public String getUpperStrikePrice() {
        return UpperStrikePrice;
    }

    public void setUpperStrikePrice(String upperStrikePrice) {
        if (upperStrikePrice != null) {
            this.UpperStrikePrice = upperStrikePrice;
        }
    }

    public String getRebatePrice() {
        return RebatePrice;
    }

    public void setRebatePrice(String rebatePrice) {
        if (rebatePrice != null) {
            this.RebatePrice = rebatePrice;
        }
    }

    public void setLowerStrikeRate(String LowerStrikeRate) {
        this.LowerStrikeRate = LowerStrikeRate;
    }
    public String getLowerStrikeRate() {
        return LowerStrikeRate;
    }

    public void setLowerStrikeInclude(String LowerStrikeInclude) {
        this.LowerStrikeInclude = LowerStrikeInclude;
    }
    public String getLowerStrikeInclude() {
        return LowerStrikeInclude;
    }

    public void setUpperStrikeRate(String UpperStrikeRate) {
        this.UpperStrikeRate = UpperStrikeRate;
    }
    public String getUpperStrikeRate() {
        return UpperStrikeRate;
    }

    public void setUpperStrikeInclude(String UpperStrikeInclude) {
        this.UpperStrikeInclude = UpperStrikeInclude;
    }
    public String getUpperStrikeInclude() {
        return UpperStrikeInclude;
    }

    public void setRebateRate(String RebateRate) {
        this.RebateRate = RebateRate;
    }
    public String getRebateRate() {
        return RebateRate;
    }
}
